<template>
	<view class="flex flex-js-center pb-13 loading">
		<u-loading-icon v-if="type=='loading'" text="加载中"></u-loading-icon>
		<u-empty mode="list"  v-if="type=='empty'" text='暂无数据'></u-empty>
		<text v-if="type=='nomore'" class="font-color-blue_then font-size-13">{{loadEndText}}</text>
		<text v-if="type=='none'" class="font-color-blue_then font-size-13">上拉加载更多</text>
	</view>
</template>

<script>
	export default {
		name:"z-loading",
		props:{
			type:{
				type:String,
				default:"none"
			},
			loadEndText:{
				type:String,
				default:"- 更多内容敬请期待 - "				
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">

</style>